﻿<%@ Page Title="Festival Details" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
         CodeBehind="FestivalDetail.aspx.cs" Inherits="Festival_Locator.FestivalDetail" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="FeaturedContent" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
    <asp:FormView ID="festivalDetails" runat="server" ItemType="Festival_Locator.Models.Festivals" SelectMethod="GetFestivals" RenderOuterTable="false">
        <ItemTemplate>
            <div>
                <h1><%#:Item.fest_naam %></h1>
            </div>
            <br />
            
            <b><asp:Label id="LabelWelcome" runat="server" Text="<%$ Resources:SiteResources, Location %>"></asp:Label>: </b><%#:Item.fest_locatie %><br />
            <span><b><asp:Label id="Label1" runat="server" Text="<%$ Resources:SiteResources, Duration %>"></asp:Label>:</b>&nbsp;<%#:Item.fest_duur %></span><br /><span><b><asp:Label id="Label2" runat="server" Text="<%$ Resources:SiteResources, Date %>"></asp:Label>:</b>&nbsp;<%#:Item.fest_datum %></span><br /><div style="display: inline-flexbox;">
                <b>Bands:</b>
            </div>
            <div style="display: inline-block;">
                <ul style="list-style-type: none;">
                    <asp:ListView ID="bandsPerFestival" runat="server" ItemType="Festival_Locator.Models.BandsPerFestival" SelectMethod="GetBands" RenderOuterTable="false">
                    <ItemTemplate>

                            <li><%#:Item.Bands.band_naam %></li>

                        </ItemTemplate>
                        </asp:ListView>
                </ul>
            </div>
        </ItemTemplate>
    </asp:FormView>
</asp:Content>
